home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / prg_casm / snip9611.zip / MORE.C < prev    next >
C/C++ Source or Header  |  1996-11-24  |  360b  |  23 lines

  1. /* +++Date last modified: 14-May-1996 */
  2.  
  3. /*
  4. **  MORE.C - A DOS/Unix more work-alike
  5. **
  6. **  public domain by Bob Stout
  7. */
  8.  
  9. #include <stdio.h>
  10. #include "more.h"
  11.  
  12. main()
  13. {
  14.       char buf[512];
  15.  
  16.       while(NULL != fgets(buf, 512, stdin))
  17.       {
  18.             if (Key_ESC == more_proc(buf))
  19.                   break;
  20.       }
  21.       return 0;
  22. }
  23.